{js:artTemplate}
{js:areaSelect}

<?php 
	
	$user = ISession::get("wechatuser");
	//echo $user['id'];
	
?>

<div id="pageInfo" data-title="申请加盟商户"></div>
<section class="input_li">
	<form action="{url:/simple/seller_reg}" method="post" enctype='multipart/form-data' name="sellerForm">
<<<<<<< HEAD
		<input type="hidden" value="{$user['id']}" name="user_id" />
=======
		<input type='hidden' name='user_id' value='{$this->user['user_id']}' />
>>>>>>> branch 'master' of https://git.oschina.net/anni/micarshop.git
		<ul>
			<li>
				<span class="input_item">登陆用户名 <em>*</em></span>
				<input class="input_text" name="seller_name" type="text" value="" pattern="required" alt="用户名不能为空" />
			</li>
			<li>
				<span class="input_item">密码 <em>*</em></span>
				<input class="input_text" name="password" type="password" bind='repassword' pattern="required" />
			</li>
			<li>
				<span class="input_item">确认密码 <em>*</em></span>
				<input class="input_text" name="repassword" type="password" bind='password' pattern="required" />
			</li>
			<li>
				<span class="input_item">商户真实全称 <em>*</em></span>
				<input class="input_text" name="true_name" type="text" value="" pattern="required" />
			</li>
			<li>
				<span class="input_item">商户资质材料 <em>*</em></span>
				<input class="input_file" type='file' name='paper_img' />
			</li>
			<li>
				<span class="input_item">固定电话 <em>*</em></span>
				<input type="text" class="input_text" name="phone" pattern="phone" />
			</li>
			<li>
				<span class="input_item">手机号码 <em>*</em></span>
				<input type="text" class="input_text" name="mobile" pattern="mobi" />
			</li>
			<li>
				<span class="input_item">邮箱 <em>*</em></span>
				<input type="text" class="input_text" name="email" pattern="email" />
			</li>
			<li>
				<span class="input_item">地区 <em>*</em></span>
				<select class="input_select f3" name="province" child="city,area"></select>
				<select class="input_select f3" name="city" child="area"></select>
				<select class="input_select f3" name="area"></select>
			</li>
			<li>
				<span class="input_item">详细地址 <em>*</em></span>
				<input class="input_text" name="address" type="text" empty value="" />
			</li>
			<li>
				<span class="input_item">企业官网 <em>*</em></span>
				<input class="input_text" name="home_url" type="text" empty value="" />
			</li>
			<li>
				<input type="submit" class="input_submit" value="申请加盟">
			</li>

		</ul>
	</form>
</section>
<script>
//DOM加载结束
$(function(){
	// 给底部导航加上当前样式
	$(".footer_nav").hide();
	$(".footer_login").hide();
	var areaInstance = new areaSelect('province');
	areaInstance.init();
});
</script>
